import * as Mock from "mockjs";

Mock.mock("/api/login", "POST", {
  id: "@id",
  username: "@string('lower', 6,10)",
  realname: "@cname",
  age: "@integer(18, 60)"
});